package com.xxy.crm.dao;

import com.xxy.crm.base.BaseMapper;
import com.xxy.crm.vo.CustomerOrder;

import java.util.Map;

public interface CustomerOrderMapper extends BaseMapper<CustomerOrder ,Integer> {
    /**
     * 查看订单详情
     * @param orderId
     */
    Map<String,Object> selectByOrderId(Integer orderId);

    /**
     * 查询最后一次更新时间
     * @param id
     * @return
     */
    CustomerOrder queryLossCustomerOrderByCustomerId(Integer id);
}